<%@ page language="java" contentType="text/html; charse=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!--header-->
<header>
	<div class="nav">
		<div class="context"> 
        	<div class="f-l">
            	<ul>
                	<li class="logo"><a href="/index.html"><img src="/public/image/logo.png" alt="" title=""/></a></li>
                    <li class="search"><input readonly placeholder="请输入关键词" class="input-text ac_input" name="search_text" value="" id="search_text" autocomplete="off" style="width:300px" type="text"><button type="submit" class="btn btn-default" id="search_button">搜索</button></li>
                </ul>
            </div>
            <div class="f-r">
            	<ul>
            		<c:if test="${empty users}">
                	<li><a class="danger" href="/register.html">注册</a></li>
                    <li><a class="" href="/login.html">登录</a></li>
                    </c:if>
                    <c:if test="${!empty users }">
                    	<li>欢迎你:<a href="#">${users.name }</a></li>
                    </c:if>
                    <li><a href="#"><i class="Hui-iconfont">&#xe696;</i>公众号</a></li>
                </ul>
             </div>
        </div>
        
        <div class="clearfix"></div>    
        </div>	
    </header>
<!--header-->